home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
scoobycastillotenebroso.swf
/
scripts
/
DefineButton2_1412
/
BUTTONCONDACTION on(release, releaseOutside).as
< prev
Wrap
Text File
|
2007-10-01
|
465b
|
19 lines
on(release, releaseOutside){
if(this.hitTest(_root.environnement2.door.hit_door))
{
this.swapDepths(_parent.swap);
_root.environnement2.door.gotoAndStop("sealed");
stopDrag();
set("_root.controler:drag_this",false);
this._visible = false;
}
else
{
this.swapDepths(_parent.swap);
stopDrag();
set("_root.controler:drag_this",false);
this._x = 10.05;
this._y = -0.25;
}
}